package com.xindacloud.sms.console.system.dto;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;


@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="SmsSystemMenuDTO",description="SMS系统菜单DTO")
public class SmsSystemMenuDTO  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -979173196007325635L;
	@ApiModelProperty(value="唯一标识",name="id",notes = "唯一标识",example="123", required = false)
	private Integer id;
	@ApiModelProperty(value="菜单名称",name="menuName",notes = "菜单名称",example="系统管理", required = false)
	private String menuName;
	@ApiModelProperty(value="上级菜单id",name="parentId",notes = "上级菜单id",example="123", required = false)
	private Integer parentId;
	@ApiModelProperty(value="菜单URL",name="menuUrl",notes = "菜单URL",example="www.baidu.com", required = false)
	private String menuUrl;
	@ApiModelProperty(value="菜单子集",name="children",notes = "菜单子集",example="", required = false)
	@JsonInclude(value=Include.NON_NULL)
	private List<SmsSystemMenuDTO> children;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getMenuName() {
		return menuName;
	}
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public String getMenuUrl() {
		return menuUrl;
	}
	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}
	
	public List<SmsSystemMenuDTO> getChildren() {
		return children;
	}
	public void setChildren(List<SmsSystemMenuDTO> children) {
		this.children = children;
	}
	
	
}
